package com.hutao.sso.mapper.newAuthority;

import java.util.List;
import java.util.Map;

import com.hutao.sso.pojo.newAuthority.Roles;

public interface RolesMapper {
   public List<Map<String, Object>> findRolesListByUserHospitalId(Map<String, Object> params);
   
   public List<Roles> findRolesListPage(Map<String, Object> params);
   
   public long findRolesCountPage(Map<String, Object> params);
   
   public int insertRoles(Roles roles);
   
   public long findCountByRoleName(Map<String, Object> params);
   
   public int updateRoles(Roles roles);
   
   public Roles findRoleById(Map<String, Object> params);
	
   public int deleteRoleById(Map<String, Object> params);
   
   //通过userHospitalId查询所有的角色
   public List<Map<String, Object>> findRoleListByUserHospitalId(Map<String, Object> params);
   
	
}